﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DefBankFormat.aspx.cs" Inherits="UI.ModSalary.DefBankFormat" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>定义银行代发格式</title>
       <link rel="stylesheet" type="text/css" href="../Styles/BaseStyle.css" />
 
</head>
<body>
    <form id="form1" runat="server">
    <div id="pagetop" class="pagetop">
        <div class="pagetopleft">
            <b>设置代发格式</b></div>  
             <div class="pagetopright">
    分隔符  <asp:TextBox ID="txtSplitChar" runat="server" CssClass="InputCss" Width="50px"
                    onkeydown="if(event.keyCode==13)event.keyCode=9"></asp:TextBox>&nbsp;
                    代发文件格式 <asp:DropDownList 
                     ID="ddlFileFormat" runat="server" CssClass="InputCss" >
                        <asp:ListItem>EXCEL</asp:ListItem>
                        <asp:ListItem>TXT</asp:ListItem>
                    </asp:DropDownList>&nbsp;
                      
        <asp:Button ID="btnBegin" runat="server" CssClass="ButtonCss" Text="设置" 
                     onclick="btnSet_Click" />  &nbsp; &nbsp;

    </div>   
    </div>
   
    <div>
    <table style="width: 90%;" align="center" class="td">
     <tr>
            <td >
                &nbsp;帐套
          

                <asp:DropDownList 
                     ID="ddlSetsID" runat="server" CssClass="InputCss" AutoPostBack="True" 
                     onselectedindexchanged="ddlSetsID_SelectedIndexChanged">
                    </asp:DropDownList>

        </td>
            <td >
                位置
           
              <asp:DropDownList ID="ddlABSindex" CssClass="InputCss"  runat="server">
                    <asp:ListItem Selected="True">1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                     <asp:ListItem>3</asp:ListItem>
                      <asp:ListItem>4</asp:ListItem>
                       <asp:ListItem>5</asp:ListItem>
                        <asp:ListItem>6</asp:ListItem>
                         <asp:ListItem>7</asp:ListItem>
                          <asp:ListItem>8</asp:ListItem>
                           <asp:ListItem>9</asp:ListItem>
                </asp:DropDownList>
                
            </td>
       
            <td >
                代发项 
            
                <asp:DropDownList ID="ddlFieldName"  CssClass="InputCss" runat="server">
                    <asp:ListItem>序号</asp:ListItem>
                    <asp:ListItem>银行账号</asp:ListItem>
                    <asp:ListItem>姓名</asp:ListItem>
                    <asp:ListItem>年</asp:ListItem>
                    <asp:ListItem>月</asp:ListItem>
                    <asp:ListItem>身份证号</asp:ListItem>
                </asp:DropDownList>
            </td>
       
            <td >
                类型 
           
                <asp:DropDownList ID="ddlType" CssClass="InputCss"  runat="server">
                    <asp:ListItem Selected="True">字符型</asp:ListItem>
                    <asp:ListItem>数字型</asp:ListItem>
                </asp:DropDownList>
            </td>
       
            <td >
                位数 
            
                <asp:TextBox ID="txtTax" runat="server" CssClass="InputCss" Width="50px"
                    onkeydown="if(event.keyCode==13)event.keyCode=9"></asp:TextBox>
            </td>
       
            <td>
                对齐方式 
           
                <asp:DropDownList ID="ddlAlign" CssClass="InputCss"  runat="server">
                    <asp:ListItem Selected="True">无</asp:ListItem>
                    <asp:ListItem>左</asp:ListItem>
                    <asp:ListItem>右</asp:ListItem>
                </asp:DropDownList>
            </td>
           
            <td>
                <asp:Button ID="btnAdd" runat="server" Text="增加" OnClick="btnAdd_Click"   />
        &nbsp;<asp:Button ID="btnUpdate" runat="server" Text="更新" OnClick="btnUpdate_Click" />
        &nbsp;<asp:Button ID="btnDelete" runat="server" Text="删除" OnClick="btnDelete_Click"
            OnClientClick="return confirm('确定要删除吗?\n');" />
        &nbsp;</td>
        </tr>
    </table>
    </div>
    <asp:GridView ID="gvList" runat="server" AutoGenerateColumns="false"  HorizontalAlign="Center" Width="90%" BackColor="White" BorderColor="#999999" 
        BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical" CssClass="td">
            <AlternatingRowStyle BackColor="#DCDCDC" />
      <Columns>
        
            
        </Columns> 
          <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />                      
                        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
                        <AlternatingRowStyle BackColor="#F7F7F7" />
    </asp:GridView>
    </form>
    </body>
</html>
